A Learning Support Method for Multi-threaded Programs Using Trace Tables
- URL: http://arxiv.org/abs/2409.16700v1
- Date: Wed, 25 Sep 2024 07:46:38 GMT
- Title: A Learning Support Method for Multi-threaded Programs Using Trace Tables
- Authors: Takumi Murata, Hiroaki Hashiura,
- Abstract summary: Multi-threaded programs are expected to improve responsiveness and conserve resources by dividing an application process into multiple threads for concurrent processing.
However, due to scheduling and the interaction of multiple threads, their runtime behavior is more complex than that of single-threaded programs.
We propose a learning tool for multi-threaded programs using trace tables.
- Score: 0.0
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Multi-threaded programs are expected to improve responsiveness and conserve resources by dividing an application process into multiple threads for concurrent processing. However, due to scheduling and the interaction of multiple threads, their runtime behavior is more complex than that of single-threaded programs, making which makes debugging difficult unless the concepts specific to multi-threaded programs and the execution order of instructions can be understood. In this paper, we propose a learning tool for multi-threaded programs using trace tables.
Related papers
- Tailoring Stateless Model Checking for Event-Driven Multi-Threaded
Programs [1.2948955292336792]
We present Event-DPOR, a DPOR algorithm tailored to event-driven programs.
It is based on Optimal-DPOR, an optimal DPOR algorithm for multi-threaded programs.
We prove correctness of Event-DPOR for all programs, and optimality for a large subclass.
arXiv Detail & Related papers (2023-07-29T08:43:49Z) - MultiTool-CoT: GPT-3 Can Use Multiple External Tools with Chain of
Thought Prompting [23.607534241574346]
We propose MultiTool-CoT, a framework that incorporates external tools, such as a calculator and a knowledge retriever, during the reasoning process.
We apply MultiTool-CoT to the Task 2 dataset of NumGLUE, which requires both numerical reasoning and domain-specific knowledge.
arXiv Detail & Related papers (2023-05-26T13:00:58Z) - Fact-Checking Complex Claims with Program-Guided Reasoning [99.7212240712869]
Program-Guided Fact-Checking (ProgramFC) is a novel fact-checking model that decomposes complex claims into simpler sub-tasks.
We first leverage the in-context learning ability of large language models to generate reasoning programs.
We execute the program by delegating each sub-task to the corresponding sub-task handler.
arXiv Detail & Related papers (2023-05-22T06:11:15Z) - A Multi-Task Approach to Robust Deep Reinforcement Learning for Resource
Allocation [8.508198765617195]
We look at a resource allocation challenge with rare, significant events which must be handled properly.
We integrate Elastic Weight Consolidation and Gradient Episodic Memory into a vanilla actor-critic scheduler.
We compare their performance in dealing with Black Swan Events with the state-of-the-art of augmenting the training data distribution.
arXiv Detail & Related papers (2023-04-25T09:05:36Z) - ART: Automatic multi-step reasoning and tool-use for large language
models [105.57550426609396]
Large language models (LLMs) can perform complex reasoning in few- and zero-shot settings.
Each reasoning step can rely on external tools to support computation beyond the core LLM capabilities.
We introduce Automatic Reasoning and Tool-use (ART), a framework that uses frozen LLMs to automatically generate intermediate reasoning steps as a program.
arXiv Detail & Related papers (2023-03-16T01:04:45Z) - QParallel: Explicit Parallelism for Programming Quantum Computers [62.10004571940546]
We present a language extension for parallel quantum programming.
QParallel removes ambiguities concerning parallelism in current quantum programming languages.
We introduce a tool that guides programmers in the placement of parallel regions by identifying the subroutines that profit most from parallelization.
arXiv Detail & Related papers (2022-10-07T16:35:16Z) - Modular Adaptive Policy Selection for Multi-Task Imitation Learning
through Task Division [60.232542918414985]
Multi-task learning often suffers from negative transfer, sharing information that should be task-specific.
This is done by using proto-policies as modules to divide the tasks into simple sub-behaviours that can be shared.
We also demonstrate its ability to autonomously divide the tasks into both shared and task-specific sub-behaviours.
arXiv Detail & Related papers (2022-03-28T15:53:17Z) - In Defense of the Unitary Scalarization for Deep Multi-Task Learning [121.76421174107463]
We present a theoretical analysis suggesting that many specialized multi-tasks can be interpreted as forms of regularization.
We show that, when coupled with standard regularization and stabilization techniques, unitary scalarization matches or improves upon the performance of complex multitasks.
arXiv Detail & Related papers (2022-01-11T18:44:17Z) - Understanding Multimodal Procedural Knowledge by Sequencing Multimodal
Instructional Manuals [48.55362590292391]
We benchmark machine learning models' capability of reasoning over and sequencing unordered multimodal instructions.
We find models not only perform significantly worse than humans but also seem incapable of efficiently utilizing the multimodal information.
We propose sequentiality-aware pretraining techniques that exploit the sequential alignment properties of both texts and images.
arXiv Detail & Related papers (2021-10-16T06:12:15Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.