Using AI to know which question to ask, and when to ask it

Published Oct 19 2021 04:27 PM 947 Views
Microsoft

MarioInchiosa_0-1632175321840.png

 

Have you ever tried to get an automobile insurance quote by going to an insurance company’s web site and filling in the online application form? Some sites ask screen after screen of questions before offering a quote. After answering a series of questions requesting increasingly personal information, I have often given up and abandoned my attempt to get a quote.

 

Is there some way the company could have minimized the questions they needed to ask before showing me a quote? Indeed, there is. Microsoft Research has developed an AI algorithm to address this need and implemented it as an easy-to-use API. The algorithm solves the “Next Best Question” problem. Consider the insurance scenario. Each time an applicant answers a question, the algorithm uses all answers provided up to that point to determine what is the next question from among a potentially long list of questions that would provide the most information if answered. Thus, the order of questions asked is dynamically optimized, question by question and answer by answer. The algorithm also computes the expected value (also known as the “information reward”) of asking the next best question. To save time and help avoid customers abandoning the process, the questioning can be cut short once the value of asking another question falls below a certain level or once a certain number of questions have been asked and answered. Note that in the insurance scenario, some questions may be mandatory, due to business or regulatory requirements. Such questions can be asked at the outset, and the answers obtained can be used by the Next Best Question API to optimally choose the subsequent questions.

 

The Next Best Question API is already being used for applications such as customizing online quizzes for students, and it is applicable to many other use cases and domains such as healthcare screening, technical support, online questionnaires, and recommender systems. In fact, the AI algorithm powering the API has been extensively studied in published papers, where it outperformed other methods tested on a range of problem domains, including Bank Marketing, Health Assessment, Housing Price Prediction, and others.

 

Using the API involves three easy steps:

  1. Train model
    • Input: training data (features and target, CSV format) and control file (JSON format)
      • Supports heterogeneous data (continuous, binary, categorical)
    • Output: model id
  1. Deploy trained model
    • Input: model id
    • Output: scoring endpoint URL
  1. Predict Next Best Question
    • Input: currently acquired feature values (known information)
    • Output: predicted Next Best Question, along with predicted Information Reward and imputed feature value

 

If you are interested in evaluating the API for your scenario, please email the team at azua-request@microsoft.com.

 

Learn more about this work:

1 Comment
%3CLINGO-SUB%20id%3D%22lingo-sub-2768799%22%20slang%3D%22en-US%22%3EUsing%20AI%20to%20know%20which%20question%20to%20ask%2C%20and%20when%20to%20ask%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2768799%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22MarioInchiosa_0-1632175321840.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311671iECB44D0801CB0756%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22MarioInchiosa_0-1632175321840.png%22%20alt%3D%22MarioInchiosa_0-1632175321840.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHave%20you%20ever%20tried%20to%20get%20an%20automobile%20insurance%20quote%20by%20going%20to%20an%20insurance%20company%E2%80%99s%20web%20site%20and%20filling%20in%20the%20online%20application%20form%3F%20Some%20sites%20ask%20screen%20after%20screen%20of%20questions%20before%20offering%20a%20quote.%20After%20answering%20a%20series%20of%20questions%20requesting%20increasingly%20personal%20information%2C%20I%20have%20often%20given%20up%20and%20abandoned%20my%20attempt%20to%20get%20a%20quote.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIs%20there%20some%20way%20the%20company%20could%20have%20minimized%20the%20questions%20they%20needed%20to%20ask%20before%20showing%20me%20a%20quote%3F%20Indeed%2C%20there%20is.%20Microsoft%20Research%20has%20developed%20an%20AI%20algorithm%20to%20address%20this%20need%20and%20implemented%20it%20as%20an%20easy-to-use%20API.%20The%20algorithm%20solves%20the%20%E2%80%9CNext%20Best%20Question%E2%80%9D%20problem.%20Consider%20the%20insurance%20scenario.%20Each%20time%20an%20applicant%20answers%20a%20question%2C%20the%20algorithm%20uses%20all%20answers%20provided%20up%20to%20that%20point%20to%20determine%20what%20is%20the%20next%20question%20from%20among%20a%20potentially%20long%20list%20of%20questions%20that%20would%20provide%20the%20most%20information%20if%20answered.%20Thus%2C%20the%20order%20of%20questions%20asked%20is%20dynamically%20optimized%2C%20question%20by%20question%20and%20answer%20by%20answer.%20The%20algorithm%20also%20computes%20the%20expected%20value%20(also%20known%20as%20the%20%E2%80%9Cinformation%20reward%E2%80%9D)%20of%20asking%20the%20next%20best%20question.%20To%20save%20time%20and%20help%20avoid%20customers%20abandoning%20the%20process%2C%20the%20questioning%20can%20be%20cut%20short%20once%20the%20value%20of%20asking%20another%20question%20falls%20below%20a%20certain%20level%20or%20once%20a%20certain%20number%20of%20questions%20have%20been%20asked%20and%20answered.%20Note%20that%20in%20the%20insurance%20scenario%2C%20some%20questions%20may%20be%20mandatory%2C%20due%20to%20business%20or%20regulatory%20requirements.%20Such%20questions%20can%20be%20asked%20at%20the%20outset%2C%20and%20the%20answers%20obtained%20can%20be%20used%20by%20the%20Next%20Best%20Question%20API%20to%20optimally%20choose%20the%20subsequent%20questions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Next%20Best%20Question%20API%20is%20already%20being%20used%20for%20applications%20such%20as%20customizing%20online%20quizzes%20for%20students%2C%20and%20it%20is%20applicable%20to%20many%20other%20use%20cases%20and%20domains%20such%20as%20healthcare%20screening%2C%20technical%20support%2C%20online%20questionnaires%2C%20and%20recommender%20systems.%20In%20fact%2C%20the%20AI%20algorithm%20powering%20the%20API%20has%20been%20extensively%20studied%20in%20published%20papers%2C%20where%20it%20outperformed%20other%20methods%20tested%20on%20a%20range%20of%20problem%20domains%2C%20including%20Bank%20Marketing%2C%20Health%20Assessment%2C%20Housing%20Price%20Prediction%2C%20and%20others.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUsing%20the%20API%20involves%20three%20easy%20steps%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ETrain%20model%3CUL%3E%0A%3CLI%3EInput%3A%20training%20data%20(features%20and%20target%2C%20CSV%20format)%20and%20control%20file%20(JSON%20format)%3CUL%20class%3D%22lia-list-style-type-circle%22%3E%0A%3CLI%3ESupports%20heterogeneous%20data%20(continuous%2C%20binary%2C%20categorical)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EOutput%3A%20model%20id%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3COL%20start%3D%222%22%3E%0A%3CLI%3EDeploy%20trained%20model%3CUL%3E%0A%3CLI%3EInput%3A%20model%20id%3C%2FLI%3E%0A%3CLI%3EOutput%3A%20scoring%20endpoint%20URL%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3COL%20start%3D%223%22%3E%0A%3CLI%3EPredict%20Next%20Best%20Question%3CUL%3E%0A%3CLI%3EInput%3A%20currently%20acquired%20feature%20values%20(known%20information)%3C%2FLI%3E%0A%3CLI%3EOutput%3A%20predicted%20Next%20Best%20Question%2C%20along%20with%20predicted%20Information%20Reward%20and%20imputed%20feature%20value%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20interested%20in%20evaluating%20the%20API%20for%20your%20scenario%2C%20please%20email%20the%20team%20at%20%3CA%20href%3D%22mailto%3Aazua-request%40microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eazua-request%40microsoft.com%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELearn%20more%20about%20this%20work%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fresearch%2Fproject%2Fproject_azua%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EProject%20Azua%3A%20Data%20Efficient%20Decision%20Making%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22http%3A%2F%2Fproceedings.mlr.press%2Fv97%2Fma19c%2Fma19c.pdf%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EEDDI%3A%20Efficient%20Dynamic%20Discovery%20of%20High-Value%20Information%20with%20Partial%20VAE%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fpapers.nips.cc%2Fpaper%2F2020%2Ffile%2F8171ac2c5544a5cb54ac0f38bf477af4-Paper.pdf%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EVAEM%3A%20a%20Deep%20Generative%20Model%20for%20Heterogeneous%20Mixed%20Type%20Data%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2768799%22%20slang%3D%22en-US%22%3E%3CP%3ESolving%20the%20%22Next%20Best%20Question%22%20problem%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2768799%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EInsurance%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EML%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ENext%20Best%20Question%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3011235%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20AI%20to%20know%20which%20question%20to%20ask%2C%20and%20when%20to%20ask%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3011235%22%20slang%3D%22en-US%22%3E%3CP%3EIt's%20a%20very%20good%20approach%2C%20API%20will%20be%20beneficial%20in%20many%20AI%20Projects%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F207010%22%20target%3D%22_blank%22%3E%40Mario%20Inchiosa%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Oct 19 2021 04:26 PM
Updated by: