Users often need ask questions and seek answers online. The Question - Answering (QA) forums such as Stack Overflow cannot always respond to the questions timely and properly. In this paper, we propose HintMiner, a novel automatic question hints mining tool for users to help them find answers. HintMiner leverages the machine comprehension and sequence generation techniques to automatically generate hints for users' questions. It firstly retrieve many web Q&A posts and then extract some hints from the posts using MiningNet that is built via a language model. Using the huge amount of online Q&A posts, we design a self-supervised objective to train the MiningNet that is a neural encoder-decoder model based on the transformer and copying mechanisms. We have evaluated HintMiner on 60,000 Stack Overflow questions. The experiment results show that the proposed approach is effective. For example, HintMiner achieves an average BLEU score of 36.17% and an average ROUGE-2 score of 36.29%. Our tool and experimental data are publicly available.
Figures & tables
Figure 1: An example of the posts in Stack Overflow
Figure 2: An Example of Post-Link Graph
Figure 3: An Overview of HintMiner
Figure 4: An Overview of MiningNet
50
100
150
200
BLEU
ROU-2
BLEU
ROU-2
BLEU
ROU-2
BLEU
ROU-2
AnswerBot
14.22
16.81
15.63
19.63
17.58
21.27
17.33
21.28
SimCSE
16.53
18.05
16.72
19.62
20.98
22.13
20.11
22.66
PageRank++
19.25
20.02
19.28
22.55
21.84
22.76
19.67
22.84
GPT2
25.11
26.13
26.49
26.83
26.53
28.51
28.04
29.16
BART
29.35
29.57
30.75
31.29
31.52
32.45
33.11
33.17
Table 1: Evaluation of HintMiner and Compared Methods. “ROU-2” denotes ROUGE-2.
Retrieval Methods
BLEU
ROUGE-2
Linked Posts (User Marked)
36.63
36.85
Stack Exchange open API
36.22
36.25
Google Custom Search
36.19
36.37
Elastic Search (HintMiner)
36.17
36.29
Table 2: Comparison of HintMiner with Different Relevant Post Retrieval Methods
Question
Hints
how do I modify an existing a sheet in an excel workbook using openxlsx package in r? (https://stackoverflow.com/ questions/34172353)
you need to load the complete workbook, then modify its data and then save it to disk. with [CODE] you can also specify the starting row and column. and you could also modify other sections.
how do you save android emulator snapshot? (https://stackoverflow.com/ questions/4842612/)
start a telnet session to the android emulator then freezes for a few seconds while saving/loading a snaps. i found at google, simply closing the emhot window is the correct way to you.
is there a method to calculate something like general similarity score of a string? (https://stackoverflow.com/ questions/4323977/)
there are many such algorithms. keywords are fuzzy string matching. by it you can calculate the number of changes required to transform one string into another, so that gives you an estimate of how similar the strings are.
Question answering studies how AI systems interpret questions and produce accurate, evidence-grounded answers across text, dialogue, and multimodal data.
When a hint turns a failing generated program into a passing one, does it provide missing information or merely steer the model toward a solution it could already produce? We test these hypotheses on HumanEval+ and MBPP+ using executable evaluation. For Qwen2.5-3B-Instruct, adaptive relevant hints rescue 36 of 79 selected failures; an unrelated hint rescues 19, while eight unhinted samples solve 46 and recover 31 of the 36 relevant-hint rescues. Phi-3.5-mini shows the same pattern: relevant hints rescue 42 of 101 failures, an unrelated hint rescues 17, and unhinted sampling solves 57, including 36 of the 42 relevant-hint rescues. Because the hint conditions use different attempt budgets, these comparisons do not isolate a purely semantic effect. Mechanistic tests on Qwen identify a stable activation direction shared by relevant and unrelated hints. Persistently adding this direction yields 14 rescues and 18 regressions, with no detectable net accuracy gain; learned low-rank interventions have a positive but imprecise estimated effect. Full textual specifications solve 22 of 24 context-defined problems, versus 5-11 for tested virtual-KV prefixes. Post-generation hidden-state probes transfer across benchmarks, with pooled AUROC 0.806 and 0.780, but their top-one selection advantage over token confidence is statistically unresolved. Overall, relevant hints can rescue failures, but most rescued solutions are already reachable through ordinary sampling, and the internal interventions tested here do not establish task-general capability transfer.
Teaching language models to use search tools is not only a question of whether they search, but also of whether they issue good queries. This is especially important in open-domain question answering, where broad or copied queries often waste retrieval budget and derail later reasoning. We propose \Ours, a framework that makes query planning explicit through reusable search skills. At each step, the model first selects a skill, then generates a search or answer action conditioned on the selected skill card. The skill inventory itself is not fixed: SearchSkill maintains an evolving SkillBank, expands or refines it from recurrent failure patterns, and reconstructs affected trajectories before supervised training. The resulting two-stage SFT recipe aligns training with the inference-time protocol of skill selection followed by skill-grounded execution. Across open-source and closed-source models, SearchSkill improves exact match on knowledge-intensive QA benchmarks and yields better retrieval behavior, including fewer copied first queries, more atomic hop-focused queries, and more correct answers within a small search budget. These results suggest that explicit skill-conditioned query planning is a lightweight alternative to treating search as an undifferentiated action.
Jinchao Hu, Meizhi Zhong, Kehai Chen +1
School of Computer Science and Technology, Harbin Institute of Technology, Shenzhen · Independent Researcher Shenzhen / Beijing, China
Questions and Answering forums such as Stack Overflow play an important role in supporting software developers in finding answers to queries related to issues such as software errors and bugs. However, searching through a large set of candidate answers could be time consuming and may not lead to the best solution. In this research, the effectiveness of data mining models and machine learning techniques to solve this kind of problems is evaluated. We propose a recommender system to aid developers in finding solutions to their software bugs by carefully mining Stack Overflow. The proposed model leverages the knowledge available through crowdsourcing the Q&A available in Stack Overflow to recommend a solution to software bugs. We use deep learning techniques to construct the required Learning-to-Rank (LTR)-based model using the social context embedding the Stack Overflow features. Text mining, natural language processing and recommendation algorithms are used to extract, evaluate and recommend the best relevant bug solutions. Additionally, our model achieves nearly 78% correct solutions when recommending the 10 best answers for each question.
Fouzi Harrag, Mokdad Khemliche
Computer Sciences Department, College of Sciences, Ferhat Abbas University, Setif, Algeria